package io.renren.modules.edu.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 培训管理表
 *
 * @author zwp zwp
 * @since 1.0.0 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_edu_train")
public class TEduTrainEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    /**
     * 培训级别(国家级、省级、市级)
     */
	private String trainingLevel;
    /**
     * 培训开始时间
     */
	private Long trainingStartDate;
    /**
     * 培训结束时间
     */
	private Long trainingEndDate;
    /**
     * 培训名称
     */
	private String trainingName;
    /**
     * 培训地点
     */
	private String trainingAddress;
    /**
     * 备注
     */
	private String comment;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateDate;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createDate;
}
